<?php
require_once("../includes/Faculty.class.php");


$name = $_POST["name"];
$position = $_POST["position"];
$description = $_POST["description"];
$date = $_POST["date"];

$faculty = new Faculty();
$faculty->set_name($name) ;
$faculty->set_position($position) ;
$faculty->set_description($description);
$faculty->set_date($date);
$faculty->create();

include("admin_home.php");
?>